import axios from "@/request";

interface IUser {
    password: string,
    username: string
}

const userLogin = (params: IUser) => {
    return axios.post("/login", params)
}

export {
    userLogin
}